package com.vm.osm.business.service.impl;

import com.vm.osm.business.dao.OsmOrderAccessoryMapper;
import com.vm.osm.business.entity.OsmOrderAccessory;
import com.vm.osm.business.service.IOsmOrderAccessoryService;

/**
 * Created by chenzui on 2018/3/20.
 */
public class OsmOrderAccessoryServiceImpl implements IOsmOrderAccessoryService {

    private OsmOrderAccessoryMapper osmOrderAccessoryMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return osmOrderAccessoryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(OsmOrderAccessory record) {
        return osmOrderAccessoryMapper.insert(record);
    }

    @Override
    public int insertSelective(OsmOrderAccessory record) {
        return osmOrderAccessoryMapper.insertSelective(record);
    }

    @Override
    public OsmOrderAccessory selectByPrimaryKey(String id) {
        return osmOrderAccessoryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(OsmOrderAccessory record) {
        return osmOrderAccessoryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(OsmOrderAccessory record) {
        return osmOrderAccessoryMapper.updateByPrimaryKey(record);
    }
}
